<template>
	<view>
		<web-view v-bind:src="link"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				link: ""
			};
		},
		onLoad(options) {
			let params = JSON.parse(options.params);
			let title = params.title;
			this.link = params.link;

			uni.setNavigationBarTitle({
				title: title
			})
		}
	}
</script>

<style lang="less">

</style>
